Sweeping legislation aims to fix the US surface Navy