Gaps and Rings in Protoplanetary Disks with Realistic Thermodynamics: The Critical Role of In-Plane Radiation Transport