Labor lashes 'bungled' submarines program