Royal Bank of Scotland boss Stephen Hester is to receive a bonus of almost £1m for his work at the bank which is 83% owned by the taxpayer.