The country’s biggest bank has posted a steady first-half result reflecting a challenging economic environment that is expected to continue for the rest of the year.