Yvette Cooper's amendment has failed by 29 votes. 298 MPs voted for the deal, while 321 voted against it. Jeremy Corbyn had thrown Labour's weight behind amendment B