Transaction should be discarded if a mutation fails

Posted by peterstace:

Same feature as: Discard transaction when a mutation fails by peterstace · Pull Request #1812 · dgraph-io/dgraph · GitHub