"The prime minister is obviously disappointed that a number of ministers failed to vote in this afternoon's division," a statement said. "No doubt her successor will take this into account when forming their government."