US jails Pakistani terror convict 40 years