partitions: increase MAX_SEARCH_PARTITIONS and move to part.h