The British Airways flight returned to Edinburgh an hour after takeoff due to a "technical issue," forcing other flights to divert as well.