Comparisons with Tunisia’s “Beauty and the Dogs” will unfortunately hound Morocco’s “Sofia,” though if parallels must be made, it’s the latter title that comes off as the better film. Both are centered around a nightmarish eve in a young middle-class woman’s life, when mistreatment for perceived lapses in the social contract reach abusive proportions.