Lawmakers said Saturday Prime Minister Mohamed Ali Gedi failed to respect a power-sharing deal when he named a cabinet that was not equally divided between Somalia 's ethnic groups .