Magnetic Switchbacks Heat the Solar Corona