President reinstates Ranil Wickremesinghe as PM ending a seven-week long standoff that has crippled Sri Lanka.