Measurement of the relative branching fractions of B+ →h+h′+h′- decays