Tens of thousands of Egyptian demonstrators encircled the presidential palace Tuesday after riot police failed to keep them at bay with tear gas, in a growing crisis over President Mohamed Morsi's decree widening his powers.