Amplitude analysis of B-+/- -> pi(K+K-)-K-+/- decays