Labour won 412 seats in Thursday’s elections to the House of Commons, giving it a comfortable majority and its second-best result ever.