partitionmanager: remove unused By_Block and By_Name methods

Change-Id: Ia6eefd23f6671428221e35642f01534bc9fff6ad