The Justice Department has stepped into a legal dispute on behalf of two Texas male students who say their school district discriminated against them when they were not allowed to attend classes because they refused to cut the length of their hair that they wore in locs.