Japan government ‘reaches deal to buy’ disputed islands