MPs reject an amendment calling for the prime minister to extend Article 50 in order to hold a second referendum.