A Royal Marine jailed for murdering a wounded Taliban fighter received a boost to his bid to have his conviction overturned after prosecutors admitted for the first time that he was mentally ill at the time of the killing.