Boy, mistaken for girl, cuts his hair for good cause