SERVER-13032 record write errors on failures of shards and lack of progress

Dedicated mongos error code indicating partial results