The airline will pay shareholders its first dividend in six years after revealing a solid half-year profit on the back of robust travel demand.