MPs have defeated an attempt to remove Church of England bishops from the House of Lords, amid suggestions they should focus on ecclesiastical matters rather than trying to “run our country”.