Value-Directed Compression of POMDPs