The U.S. Coast Guard named Rear Adm. Melissa Bert as its first female judge advocate and chief counsel, its top legal position.