The airline said it will refund or rebook passengers who bought wrongly-priced tickets due to a coding error.