United Airlines responded to criticism it received on Sunday after it barred two teenage girls from boarding a flight because they were wearing leggings.