what is the purpose of legazpi expedition