Thanks for help!
This is patch for src/backend/optimizer/path/prune.c.Access pathes of pruned joinrels were not merged and betterpathes were lost, sometimes...
Vadim