Derivation of a pion-rho' exchange three-body force and application to the trinucleon system