[master branch] Fix for EJBCLIENT-79

https://bugzilla.redhat.com/show_bug.cgi?id=957170
https://bugzilla.redhat.com/show_bug.cgi?id=957171

bugzillas exposed certain use cases where the EJB client API wasn't retrying a failed operation, even though it could potentially do it. https://issues.jboss.org/browse/EJBCLIENT-79 summarizes the use cases which were missing the potential retry. The commit here fixes those issues.