The bill, which would remove prosecution of sexual assault cases from the chain of command, fell five votes short.