Theresa May receives a standing ovation as she leaves parliament