Japan has overhauled its decades-long defence export rule, allowing the country to sell lethal weapons internationally amid rising global tensions.