Trains were delayed by up to 30 minutes after an automatic fire alarm was set off underground at Parliament station.