Hi,
Thank you for improcing the geometry of railways!

The way that you have conducted the import breaks the spirit of the OSM community. Deleting data when not keeping it's history/existing data should be a last resort.

I encourage you to get familiar with the Replace Geometry function in JOSM the next time you wish to do a similar edit. https://wiki.openstreetmap.org/wiki/JOSM/Plugins/utilsplugin2#Replace_geometry_(Ctrl+Shift+G)

I posted on the community forums so that a more experienced user could restore the data you have deleted while using your updated geometry. https://community.openstreetmap.org/t/railway-import-north-bend-boston-bar-bc/123412