Groupwise track filtering via iterative message passing and pruning