Fixed some prototype errors in the documentation

Fixed incomplete prototypes in the header file for `replace_copy_if`, `min_element` and `max_element`.
Changed the return type of `fill_n` from `void` to `OutputIterator`