The aircraft carrier that has faced concerns about supplies and conditions is set to return home to San Diego.