I checked the logbook. No pirate activity reported. I was literally watching the ship on the map when he dropped the silicon and no pirates were in the vicinity.
Edit - There is a thread about it on Steam. One guy suggested the miner will drop excess ore above the buy order amount before going to sell it. That makes sense even if it is dumb.