There a many possible options to attack this problem, from adding a TYP file, adapting the stylesheet to ignore the boundaries or preprocessing the data with e.g. Osmosis to remove the boundaries before feeding the data to Mkgmap.