England were bundled out for 186 after confusion between Sophie Ecclestone and Charlie Dean at the crease ended their innings early in the first ODI.