Regulating the infrared by mode matching: a massless scalar in expanding spaces with constant deceleration