BHP Billiton cost cuts boost profit, pave way for buyback