Obama: Afghanistan goals mostly met