Portugal, Goa und die Indische Union