A fire under a train closed Gatwick Airport railway station and led to the evacuation of all rail passengers into the south terminal.