Agreement covers goods and services as well as investment a day after China-funded megaport inaugurated by Xi Jinping.