Truncated partial-wave analysis of a complete experiment for photoproduction of two pseudoscalar mesons on a nucleon