Moving patients from full emergency departments to corridors outside full wards is safe and necessary when accommodating new emergencies, say Adrian Boyle and Peter Viccellio. But Chris Whale warns of the danger in simply displacing the problem and wants a more comprehensive response to inefficient patient flow