Deal comes days before Donald Trump takes office as US president