Ministers say they have reached “improved deal” to safeguard future of firm’s Port Talbot plant.