Phases of planar AdS black holes with axionic charge