Fixed #23307 -- Edited max_num section of formsets doccumentation

Clarified the way max_num limits the output of formsets.
Added two new example snippets to show different scenarios where max_num affects the output of formsets.