Optimisation of the B + → K + π − π + γ selection at LHCb