New law grants president power to use military to clear roadblocks set up amid weeks of antigovernment demonstrations.