A judge has ordered Los Angeles not to enforce key sections of its controversial medical marijuana ordinance, issuing a preliminary injunction that once again leaves the city with limited ability to control dispensaries and raises the possibility that new ones could open.