Military commanders to keep authority over sex assault prosecutions